public class test11 {
    static void main() {
        int x =212;
        int temp=x;
        int num=0;
        while(x!=0){
        int ge =x%10;
        x=x/10;
        num=num*10+ge;

        }

        System.out.println(num==temp);
    }
}
